<include file="Public:header"/>
<present name="message">
    <div class="pelcon box_shadow">
        <div class="suss_img">
            <img src="__STATIC__/home/img/success.jpg"/>
        </div>
        <div class="suss_tit">
            <p class="sup1">{$message} 页面将在<span class="EA4899 waitSecond">{$waitSecond}</span> 秒内为您自动跳转~

            <p>

            <p class="f9">若不能跳转，请点击 <a href="{$jumpUrl}" class="fcl">这里</a></p>
        </div>
    </div>
    <else/>
    <div class="pelcon box_shadow">
        <div class="err_img">
            <img src="__STATIC__/home/img/error.jpg"/>
        </div>
        <div class="err_img1">
            <img src="__STATIC__/home/img/sorry.jpg"/>
        </div>
        <div class="suss_tit">
            <p class="sup1">{$error}

            <p>

            <p class="f9">系统将在
                <span class="EA4899 waitSecond">{$waitSecond}</span> 秒后为您跳转，若不能跳转，请点击
                <a href="{$jumpUrl}" class="fcl">这里</a>
            </p>
        </div>
    </div>
</present>
<include file="Public:footer"/>
<script>
    function countDown(secs) {
        $('span.waitSecond').html(secs);
        if (--secs > 0) {
            setTimeout("countDown(" + secs + ")", 1000);
        } else {
            var url = "{$jumpUrl}";
            if (url.indexOf("javascript") > -1) {
                history.back(-1);
            } else {
                document.location.href = url;
            }
        }
    }
    countDown({$waitSecond});
</script>